package com.example.librarymanagersystem.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class BookType {

    private int id;
    @NotBlank(message = "图书类型名称不能为空")
    private String typeName;
    @NotBlank(message = "可借天数不能为空")
    private int canBorrowDays;
}
